package com.zara.store.common;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class InvoiceVO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private List<InvoiceItemVO> elements = new ArrayList<InvoiceItemVO>();
	private int id;
	private String invoiceType;
	private BigDecimal total;
	private BigDecimal subTotal;
	private BigDecimal taxIVA;
	private String clientStatusIVA;
	private String clientName;
	private String clientCUIT;
	private String clientAddress;

	public InvoiceVO(int id) {
		this.id = id;
	}
	public InvoiceVO(String invoiceType, BigDecimal total, BigDecimal subTotal, 
			BigDecimal taxIVA, String statusIVA, String clientName, String clientCUIT, String clientAddress) {
		super();
		this.invoiceType = invoiceType;
		this.total = total;
		this.subTotal = subTotal;
		this.taxIVA = taxIVA;
		this.clientStatusIVA = statusIVA;
		this.clientName = clientName;
		this.clientCUIT = clientCUIT;
		this.clientAddress = clientAddress;
	}
	public List<InvoiceItemVO> getElements() {
		return elements;
	}

	public int getId() {
		return id;
	}

	public void addLine(InvoiceItemVO itemVO) {
		elements.add(itemVO);
	}

	public String getClientAddress() {
		return clientAddress;
	}

	public String getClientCUIT() {
		return clientCUIT;
	}

	public BigDecimal getTaxIVA() {
		return taxIVA;
	}

	public String getClientStatusIVA() {
		return clientStatusIVA;
	}

	public String getInvoiceType() {
		return invoiceType;
	}

	public String getClientName() {
		return clientName;
	}

	public BigDecimal getSubTotal() {
		return subTotal;
	}

	public BigDecimal getTotal() {
		return total;
	}
	public void setSubTotal(BigDecimal subTotal) {
		this.subTotal = subTotal;
	}
	public void setTotal(BigDecimal total) {
		this.total = total;
	}
	public void setId(int id) {
		this.id = id;
	}

}
